package com.ruoyi.function.domain.bo;

import com.ruoyi.common.core.domain.entity.SysUser;
import com.ruoyi.function.domain.User;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
public class UserBo extends SysUser {
    @NotBlank(message = "姓名不能为空")
    private String realName;

    @NotBlank(message = "身份证号不能为空")
    private String idCardNo;

    @NotBlank(message = "身份证正面照片不能为空")
    private String idCardFront;

    @NotBlank(message = "身份证背面照片不能为空")
    private String idCardBack;

    @NotBlank(message = "有效期开始日期不能为空")
    private String validityStartDate;  // 格式：YYYYMMDD

    @NotBlank(message = "有效期结束日期不能为空")
    private String validityEndDate;
}
